let redisOption = {
  //redis数据库连接配置
  url: "redis://:redis@120.77.41.164:6379",
  database: 0,
};
let mysqlConfig = {
  //连接池配置对象
  // host: "120.77.41.164", //online:120.77.41.164,localhost:127.0.0.1
  host: "127.0.0.1",
  port: 3306,
  user: "hbh", //online:hbh,localhost:hbh
  password: "19136753163a",
  database: "novelverse",
  connectionLimit: 100, //连接池最大连接数；0为无限大,这会导致资源浪费，程序崩溃。
  queueLimit: 0, //连接池等候连接队列最大等待连接数量，超过则会无法获取连接，导致出现请求超时；0为无限大,这会导致系统资源耗尽
  multipleStatements: true, // 支持执行多条 sql 语句
};
let mysqlConfig2 = {
    //连接池配置对象
    // host: "120.77.41.164",//online:120.77.41.164,localhost:127.0.0.1
    host: "127.0.0.1",
    port: 3306,
    user: "hbh",//online:hbhchild,localhost:hbh
    password: "19136753163a",
    database: "novelversechild",
    connectionLimit: 100,//连接池最大连接数；0为无限大,这会导致资源浪费，程序崩溃。
    queueLimit:0,//连接池等候连接队列最大等待连接数量，超过则会无法获取连接，导致出现请求超时；0为无限大,这会导致系统资源耗尽
    multipleStatements: true // 支持执行多条 sql 语句
  };
export { redisOption, mysqlConfig,mysqlConfig2 };
